package entities;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Id;

import com.googlecode.objectify.annotation.Indexed;
import com.googlecode.objectify.annotation.Unindexed;

@SuppressWarnings("serial")
public class AutoSite implements Serializable {
	@Id
	private String id = "";
	
	@Indexed
	private String url = "";
	
	@Unindexed 
	private String regEmail = "";
	
	@Unindexed 
	private int scheduleSite = 60; //minutes;
	
	@Unindexed
	private int start = 1;
	
	@Unindexed
	private int total = 1;
	
	@Unindexed
	private int current = 1;
	
	@Indexed 
	private int status = 1; //0-inactive, 1-active

	@Unindexed
	private Date created = new Date();
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getRegEmail() {
		return regEmail;
	}

	public void setRegEmail(String regEmail) {
		this.regEmail = regEmail;
	}

	public int getScheduleSite() {
		return scheduleSite;
	}

	public void setScheduleSite(int scheduleSite) {
		this.scheduleSite = scheduleSite;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public int getStart() {
		return start;
	}

	public void setStart(int start) {
		this.start = start;
	}

	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}

	public int getCurrent() {
		return current;
	}

	public void setCurrent(int current) {
		this.current = current;
	}

	public Date getCreated() {
		return created;
	}

	public void setCreated(Date created) {
		this.created = created;
	}	
	
}
